package com.link.base.base.user.dao.mybatis.mapper;

import com.link.base.base.user.model.OauthToken;
import com.link.core.basic.dao.mapper.BasicMapper;

/**
 * @Description: OA登录认证token
 * @Author yangjie
 * @Date 2024/10/15 15:31
 */
public interface OauthTokenMapper extends BasicMapper<OauthToken> {

    void addOauthToken(OauthToken oauthToken) throws Exception;

    OauthToken queryByToken(String oauthToken) throws Exception;

    void updateById(Long id) throws Exception;

}
